]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
viewSelector: emit a signal when the view is empty
authorCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 01:43:45 +0000 (20:43 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Sat, 16 Feb 2013 04:47:12 +0000 (23:47 -0500)
This is very a useful point in time when the size of the side controls
can change without affecting any visible view. Emit a signal at that
time.

https://bugzilla.gnome.org/show_bug.cgi?id=693924

js/ui/viewSelector.js

index b40da6fd9a70d388a3c674f22c46a2f1c43f227b..7a3182a2cf2179cf53030264fcd973b2905c9cd9 100644 (file)
@@ -205,6 +205,8 @@ const ViewSelector = new Lang.Class({
     },
 
     _fadePageIn: function() {
+        this.emit('page-empty');
+
         this._activePage.show();
         Tweener.addTween(this._activePage,
             { opacity: 255,